// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

//全局样式配置
import './assets/css/global.css'
import './assets/js/rem.js'
//引入element ui
import './plugins/element'
// import { Button} from 'element-ui';
// Vue.use(Button)



// import ElementUI from 'element-ui'

// import 'element-ui/lib/theme-chalk/index.css'   //引用 element-ui 样式

// Vue.use(ElementUI)  //最后要use ElementUI ，不然会报错



Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
